﻿{% extends 'base.html' %}
{% block title %}
<title>Wow Dkp Engine</title>
<meta name="Keywords" content="wow,dkp"/>
<meta name="description" content="A wow dkp system" />
<style type="text/css" media="screen">
	b { width:120px; }
	input {
		border: 1px solid #666;
		background-color: #999;
	}
</style>
{% endblock %}
{% load filter %}
{% block contents %}
<div id="header">
	<div id="main-menu">
		<ul class=menu>
			<li class="normal-page" ><a href="/">{{ multi_language.ca_home }}</a></li>
			<li class="normal-page"><a href="/pub/events/">{{ multi_language.ca_event }}</a></li>
			<li class="normal-page"><a href="/pub/players/">{{ multi_language.ca_players }}</a></li>
			<li class="normal-page"><a href="/pub/overview/class/">{{ multi_language.ca_class }}</a></li>
			<li class="normal-page"><a href="/pub/overview/score/">{{ multi_language.ca_overview}}</a></li>
			<li class="current-page"><a href="/admin/site/">{{ multi_language.ca_admin}}</a></li>
		</ul>
	</div>
</div>
<div id="main">
	<div id="main-sider-bar">
		<div id="sider-body">
			<ul id="admin-menu">
					<li class="normal-page"><a href="/admin/site/">{{ multi_language.ca_site_config }}</a></li>
					<li class="normal-page"><a href="/admin/events/">{{ multi_language.ca_event_manage }}</a></li>
					<li class="current-page"><a href="/admin/players/">{{ multi_language.ca_player_manage }}</a></li>
					<li class="normal-page"><a href="/admin/events/create/">{{ multi_language.ca_create_event }}</a></li>
					<li class="normal-page"><a href="/admin/events/import/">{{ multi_language.ca_import_event }}</a></li>
					<li class="normal-page"><a href="/admin/import/adjust/">{{ multi_language.ca_import_dkp }}</a></li>
			</ul>
		</div>
	</div>
	<div id="main-bar">
	<form method="post" action=".">	
	<b>{{ multi_language.ca_player_name }}  : </b><input id="player_name" type="text" name="player_name" value='{{player.player_name}}'/><br /><br />
	<b>{{ multi_language.ca_player_guild }}: </b><input id="player_guild" type="text" name="player_guild" value='{{player.player_guild}}'/><br /><br />
	<b>{{ multi_language.ca_player_level }} : </b><input id="player_level" type="text" name="player_level" value='{{player.player_level}}'/><br /><br />
	<b>{{ multi_language.ca_adjust_score }} : </b><input id="player_adjust" type="text" name="player_adjust" value='{{playerscore.adjust}}'/><br /><br />
	<b>{{ multi_language.ca_player_gender }}: </b><input type="radio" name="player_sex" value='0' {% ifequal player.player_sex '0' %} checked='checked'{% endifequal %}/>{{ multi_language.ca_boy }}
				<input type="radio" name="player_sex" value='1' {% ifequal player.player_sex '1' %} checked='checked'{% endifequal %}/>{{ multi_language.ca_girl }}<br /><br />
	<b>{{ multi_language.ca_player_race }}  : </b><select name="player_race" style="background-color:#666666;color:#fff;width:150px;">
		<option value="1" {% ifequal player.player_race '1' %}selected="selected"{% endifequal %}>{{ multi_language.ca_human }}</option>
		<option value="7" {% ifequal player.player_race '7' %}selected="selected"{% endifequal %}>{{ multi_language.ca_gnome }}</option>
		<option value="11" {% ifequal player.player_race '11' %}selected="selected"{% endifequal %}>{{ multi_language.ca_draenei }}</option>
		<option value="4" {% ifequal player.player_race '4' %}selected="selected"{% endifequal %}>{{ multi_language.ca_nightelf }}</option>
		<option value="3" {% ifequal player.player_race '3' %}selected="selected"{% endifequal %}>{{ multi_language.ca_dwarf }}</option>
		<option value="2" {% ifequal player.player_race '2' %}selected="selected"{% endifequal %}>{{ multi_language.ca_orc }}</option>
		<option value="5" {% ifequal player.player_race '5' %}selected="selected"{% endifequal %}>{{ multi_language.ca_undead }}</option>
		<option value="8" {% ifequal player.player_race '8' %}selected="selected"{% endifequal %}>{{ multi_language.ca_troll }}</option>
		<option value="6" {% ifequal player.player_race '6' %}selected="selected"{% endifequal %}>{{ multi_language.ca_tauren }}</option>
		<option value="10" {% ifequal player.player_race '10' %}selected="selected"{% endifequal %}>{{ multi_language.ca_bloodelf }}</option>
	</select><br /><br />
	<b>{{ multi_language.ca_player_class }} : </b><select name="player_class" style="background-color:#192839;width:150px;">
		<option value="9" style="background-color:#666666;color:#9482C9" {% ifequal player.player_class '9' %}selected="selected"{% endifequal %}>{{ multi_language.ca_warlock }}</option>
		<option value="5" style="background-color:#666666;color:#FFFFFF" {% ifequal player.player_class '5' %}selected="selected"{% endifequal %}>{{ multi_language.ca_priest }}</option>
		<option value="8" style="background-color:#666666;color:#69CCF0" {% ifequal player.player_class '8' %}selected="selected"{% endifequal %}>{{ multi_language.ca_mage }}</option>
		<option value="11" style="background-color:#666666;color:#FF7D0A" {% ifequal player.player_class '11' %}selected="selected"{% endifequal %}>{{ multi_language.ca_druid }}</option>
		<option value="4" style="background-color:#666666;color:#FFF569" {% ifequal player.player_class '4' %}selected="selected"{% endifequal %}>{{ multi_language.ca_rogue }}</option>
		<option value="7" style="background-color:#666666;color:#2459FF" {% ifequal player.player_class '7' %}selected="selected"{% endifequal %}>{{ multi_language.ca_shaman }}</option>
		<option value="3" style="background-color:#666666;color:#ABD473" {% ifequal player.player_class '3' %}selected="selected"{% endifequal %}>{{ multi_language.ca_hunter }}</option>
		<option value="2" style="background-color:#666666;color:#F58CBA" {% ifequal player.player_class '2' %}selected="selected"{% endifequal %}>{{ multi_language.ca_paladin }}</option>
		<option value="1" style="background-color:#666666;color:#C79C6E" {% ifequal player.player_class '1' %}selected="selected"{% endifequal %}>{{ multi_language.ca_warrior }}</option>
		<option value="6" style="background-color:#666666;color:#C41F3B" {% ifequal player.player_class '6' %}selected="selected"{% endifequal %}>{{ multi_language.ca_deathknight }}</option>
	</select><br /><br />
	<input type="submit" name="submit" value="{{ multi_language.ca_submit }}" id="submit"/>
	</form>
	</div>
</div>
{% endblock %}
